//
//  SMAlertView.h
//  Demo
//
//  Created by btcc on 2021/7/1.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SMAlertView : UIView

- (instancetype)init NS_UNAVAILABLE;

+ (instancetype)new NS_UNAVAILABLE;

/// 弹窗初始化方法
/// @param title 标题
/// @param message 内容
/// @param actionsName 底部按钮名字数组
/// @param handle 回调方法
+ (instancetype)alertWithWithTitle:(NSString *)title message:(NSString *)message actions:(NSArray<NSString *> *)actionsName completeHandle:(void(^)(NSInteger currentIndex))handle;

@end

NS_ASSUME_NONNULL_END
